package com.dkts.oil.web.vo.request;

import com.dkts.oil.web.vo.request.subReq.ObstacleType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 炼油厂到转运站运输路线规划
 */
@Schema(description = "炼油厂到转运站运输路线规划参数")
@Data
public class TransferStationRequest {
    @Schema(description  = "路线规划的启动和终点",example = "[[111.912979,32.178913],[110.843966,30.719261]]")
    private List<List<Double>> points;

    @Schema(description  = "点线面的障碍物数据集合，支持类型：Point，Polygon" )
    private List<ObstacleType> obstacle;

    @Schema(description  = "最多推荐路线的数量" ,example = "1")
    private Integer pathsNum;

    @Schema(description  = "水路距离，单位米,如果铁路距离小于水路距离，按照铁路路线规划，如果铁路距离大于这个距离按照水路规划" ,example = "1000")
    private Long waterwayDistance;
}
